<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title"><a href="news-index-${newsClass.newsClassId }.html">${newsClass.newsClassName }</a></h3>
	</div>
	<table class="table news-list">
	<c:forEach items="${list }"  var="news">
		<tr>
			<td><a href="news-show-${news.newsId }.html">${news.newsTitle }</a></td>
			<td style="width: 4em;"><fmt:formatDate value="${news.newsTime }" pattern="MM/dd"/></td>
		</tr>
		</c:forEach>

	</table>
</div>